.PHONY:all
all:mysignal.exe kill.exe loop.exe soft_signal.exe alarm.exe hard_signal.exe

mysignal.exe:mysignal.cc
	g++ -o $@ $^ -std=c++11 -g
kill.exe:kill.cc
	g++ -o $@ $^ -std=c++11
loop.exe:loop.cc
	g++ -o $@ $^ -std=c++11
soft_signal.exe:soft_signal.cc
	g++ -o $@ $^ -std=c++11
alarm.exe:alarm.cc
	g++ -o $@ $^ -std=c++11
hard_signal.exe:hard_signal.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f *.exe #mysignal.exe kill.exe loop.exe soft_signal.exe alarm.exe